<div id="dialog-message" style="text-align: center;font-size: 14;color: #0063DC" >
    <?php echo $message ?> 
</div>

<script>
    
     $(function() {
    $( "#dialog-message" ).dialog({
      modal: true,
      buttons: {
        Ok: function() {
          $( this ).dialog( "close" );
        }
      }
    });
  });
	
	</script>